import json

with open("config.json") as json_data:

    data = json.load(json_data)

formatted_data = json.dumps(data, indent=4)
print(formatted_data)